package com.xpqh.ksg.modular.core.controller;


import com.xpqh.ksg.base.BaseController;
import com.xpqh.ksg.base.BaseResponseDTO;
import com.xpqh.ksg.modular.core.service.CoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;

@RestController
@RequestMapping(value = "ksg/brandListByPc")
public class KsgBrandListByPcController extends BaseController {

    @Autowired
    private CoreService coreService;
    @PostMapping("/brand")
    public com.xpqh.ksg.base.BaseResponseDTO brand() {
        return renderResultOk(coreService.getBrandList());
    }
}
